@import 'vote-act.less';

.vote {
  img {
    display: block;
    max-width: 100%;
  }
  .status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #505A66;
    color: #fff;
    z-index: 1000;
    p {
      margin-top: 10px;
    }
    .img-list {
      border: 1px solid #EAEAEA;
      background-color: #FFFFFF;
      margin-top: -10px;
      padding: 10px;
      p {
        padding: 5px;
        background-color: #2878BF;
        width: 70px;
        display: inline-block;
        margin-right: 10px;
      }
      img {
        display: inline-block;
        width: 45px;
        height: 45px;
        border-radius: 45px;
        margin-right: 10px;
      }
    }
    .btn {
      border-radius: 0px;
      color: #ffffff;
      background-color: #2878BF;
      font-size: 20px;
      border-color: #2878BF
    }
    .btn-half {
      width: 50%;
    }
    .col-back {
      background-color: #FB9030;
      border-color: #FB9030
    }
    .col-end {
      background-color: #dcdcdc;
      border-color: #dcdcdc
    }
  }
  .vote-content {
    .col-xs-12 {
      padding: 0px;
    }
    margin-bottom: 100px;
    label {
      display: block;
      padding-left: 10px;
    }
    .vote-list {
      background: #CBE7FF;
      font-size: 18px;
      padding: 10px 10px 10px 15px;
    }
    .fa {
      color: #ddd;
    }
    .active {
      background: #EEF7FE;
      .fa {
        color: #3EB838;
      }
      .glyphicon-ok {
        display: block;
      }
    }
    .radio, .checkbox {
      padding: 8px 8px 8px 22px;
    }
  }

  .loading {
    width: 100%;
    position: absolute;
    top: 50%;
    text-align: center;

    .fa-spinner {
      font-size: 40px;
    }
  }
}

@notifyTop: -52px;
.notify {
  position: fixed;
  top: @notifyTop;
  z-index: 2000;
  left: 50%;
  width: 400px;
  margin-left: -200px;
  border-radius: 0 0 4px 4px;
  text-align: center;
  .alert {
    border-radius: 0 0 4px 4px;
  }
  .loading {
    position: relative;
    top: 52px;
    display: none;
  }
  .loading.show {
    display: block;
  }
  .messages {
    position: relative;
    top: 0px;
    -webkit-transition: top 0.4s;
    -moz-transition: top 0.4s;
    -ms-transition: top 0.4s;
    -o-transition: top 0.4s;
    transition: top 0.4s;
  }
  .messages.show {
    top: 52px;
  }
}

.vote-status {
  margin-top: -10px;
  margin-right: -10px;
}

.pt-0 {
  padding-top: 0px !important;
}
